package com.leizhi.demo.monitor.pojo;

import io.netty.buffer.ByteBuf;
import io.netty.buffer.CompositeByteBuf;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Description 帧数据
 * @Version 1.0.0-SNAPSHOT
 * @Author leizhi
 * @Date 2025/4/27 10:13
 */
@Data
@NoArgsConstructor
public class FrameData {

    /* 通道标识 */
    private Long ssrc;

    /* 组合数据包 */
    private CompositeByteBuf composite;

    /* 数据包 */
    private List<ByteBuf> nalUnits;


    public FrameData(Long ssrc) {
        this.ssrc = ssrc;
    }

}
